class CreateSheets < ActiveRecord::Migration
  def change
    create_table :sheets do |t|
      t.string :name ,  :null => false
      t.integer :creator_id,:null => false
      t.string :ip
      t.string :file
      t.string :remark
      t.string :result
      t.integer :users_count, :null => false, :default => 0
      t.boolean :imported, :null => false, :default => false

      t.timestamps
    end
  end
end
